package com.warframe.entity.regex;

import java.util.regex.Pattern;

public class RegexContentMO {
    private Integer id;
    private Pattern regexText;
    private Integer type;

    public RegexContentMO(Integer id, String regexText, Integer type) {
        this.id = id;
        this.regexText = Pattern.compile(regexText);
        this.type = type;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Pattern getRegexText() {
        return regexText;
    }

    public void setRegexText(Pattern regexText) {
        this.regexText = regexText;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
